var api = require('./cabocity.js');

//TODO Here load Everything with API.
//api.loadDefsFromFiles();

//Example command.
var mapCommand = new api.cmd.Command(1, 'newMap');
mapCommand.setFOutside( require('./map.js').newMap );

var serverOptions = new api.server.ServerOptions();
serverOptions.port = 5556;
api.startServer(serverOptions);